using System;
using System.Collections.Generic;
using System.Text;

namespace GeneticAlgorithm.CP1
{
    class Terminate<TGenotype, TPhenotype>
    {
        /// <summary>
        /// Terminate after 10 generation.
        /// </summary>
        /// <param name="population"></param>
        /// <returns></returns>
        public static bool A(Population<TGenotype, TPhenotype> population)
        {
            return population.GenerationCount == 100;
        }
    }
}
